import java.util.Scanner;

public class Practice1 {
    //https://ac.nowcoder.com/acm/problem/213471
    //一道简单模拟题, 先放大后放小
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] arr = new int[n];
        int cur = n;
        for(int i = 0;i < n;i += 2){
            arr[i] = cur;
            cur --;
        }
        for (int i = 1; i < n; i += 2) {
            arr[i] = cur;
            cur--;
        }
        for (int i = 0; i < n; i++) {
            System.out.print(arr[i] + " ");
        }
    }
}
